package com.muhuahealth.dao;

import com.muhuahealth.entity.UndergroundPipeEntity;
import com.muhuahealth.utils.PageQueryUtil;
import com.muhuahealth.utils.ServerResponse;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author GSK
 * @version 1.0
 * @date 2021/1/24 18:10
 */
@Repository
public interface UndergroundPipeDao {

    List<UndergroundPipeEntity> findPipeListPage(PageQueryUtil queryUtil);

    int getTotalPage(PageQueryUtil queryUtil);

    int savePipeInfo(UndergroundPipeEntity undergroundPipeEntity);

    UndergroundPipeEntity selectByPrimaryKey(Integer id);

    int updatePipeInfo(UndergroundPipeEntity undergroundPipeEntity);

    int deleteById(Integer id);

    ServerResponse searchPipeInfo(UndergroundPipeEntity undergroundPipeEntity);
}
